import Vue from 'vue'
import Login from './Login.vue'
import router from '../router'
import store from '../store'
import axios from 'axios'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import '../assets/login.css'
import '../assets/icon/iconfont.css'
import '../mock/index.js'

Vue.use(ElementUI)
Vue.config.productionTip = false

// 默认地址
axios.defaults.baseURL = 'http://api.cms.liulongbin.top'

Vue.prototype.$http = axios

new Vue({
  router,
  store,
  render: h => h(Login)
}).$mount('#login')
